ShrinkWrap: E cient Dynamic Race Detection for Array-Intensive Programs

نویسندگان

  • James Wilcox
  • Stephen N. Freund
چکیده

We explore a new technique for e cient dynamic race detection on programs using arrays intensively. Standard techniques lead to redundant operations and redundant representations in many common cases. For these common cases, we design dynamic compression methods that eliminate this redundancy. Finally, we implement our techniques in a prototype tool called ShrinkWrap, which is built as an extension to a state-of-the-art precise dynamic race detector. We evaluate the performance and precision of ShrinkWrap on a suite of benchmark programs. We show that our prototype can improve performance dramatically when the target program accesses arrays in a pattern we recognize. The vast majority of the accesses that must be checked by the underlying race detector can be eliminated on almost half of our benchmark programs. However, we also nd that our prototype is not always as time e cient as one might expect given the number of accesses eliminated.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Array Shadow State Compression for Precise Dynamic Race Detection

Precise dynamic race detectors incur significant time and space overheads, particularly for array-intensive programs, due to the need to store and manipulate analysis (or shadow) state for every element of every array. This paper presents SLIMSTATE, a precise dynamic race detector that uses an adaptive, online algorithm to optimize array shadow state representations. SLIMSTATE is based on the i...

متن کامل

E cient Detection of All Pointer and Array Access Errors

We present a pointer and array access checking technique that provides complete error coverage through a simple set of program transformations. Our technique, based on an extended safe pointer representation, has a number of novel aspects. Foremost, it is the rst technique that detects all spatial and temporal access errors. Its use is not limited by the expressiveness of the language; that is,...

متن کامل

cient On - the - y Race Detection for Programs with NestedParallelism

Detecting races is important for debugging shared-memory parallel programs, because the races result in unintended nondeterministic executions of the programs. Previous monitoring techniques for on-they race detection show serious space overhead. This paper presents a new technique for on-they race detection which is more eecient in space complexity than existing techniques. The programs consid...

متن کامل

cient Detection of All Pointer and Array Access Errors

In this paper, we present a pointer and array access checking technique that provides complete error coverage through a simple set of program transformations. Our technique, based on an extended safe pointer representation, has a number of novel aspects. Foremost, it is the rst technique that detects all spatial and temporal access errors. Its use is not limited by the expressiveness of the lan...

متن کامل

Region Analysis for Race Detection

Automatic race detection of C programs requires fast, yet sufficiently precise, analysis of dynamic memory. Therefore, we present a region-based pointer analysis which seeks to identify disjoint regions of dynamically allocated objects to ensure that write accesses to the same region are always protected by the same mutexes. Our approach has been implemented within the interprocedural analyzer ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013